<template>
  <div class='header1'>
      <div class="logo">
            <a href="#/">
                <img src="../assets/logo-big.png">
            </a>
      </div>
      <div class="content">
        <div class='title'>{{$store.state.title}}</div>
        <div class='desp'>{{$store.state.desp}}</div>
      </div>
      <div class="right">
        <a @click="onHelp">帮助</a>
      </div>
  </div>
</template>

<script src="./Header.ts">
</script>

<style scoped lang="scss">
.header1 {
  background-color: #fff;
  width: 100%;
  height: 100%;
  z-index: 100;
  position: relative;
  border-bottom: 1px solid #ebebeb;
  .logo {
    position: absolute;

    padding: 15px 30px;
    top: 0px;
    left: 0px;
    img {
      width: 50px;
      height: 50px;
    }
  }
  .content {
    width: 100%;
    height: 100%;
    text-align: center;
    margin: auto;
    .title {
      padding-top: 1em;
      display: block;
      font-size: 1.17em;
      font-weight: bold;
    }
    .desp {
      padding-top: 1em;
      font-size: 12px;
    }
  }
  .right {
    position: absolute;

    padding: 15px 30px;
    top: 0px;
    right: 0px;

    a {
      color: #888;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      &:hover {
        color: rgb(42, 150, 229);
      }
    }
  }
}
</style>
